<script src="http://vnexpress.net/Service/Forex_Content.js" type="text/javascript"></script>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<table width="100%" border="1" cellpadding="0" cellspacing="0">

            	  <tr>
				<?php 
					if($_GET['lang']=='en'){
						echo('<td width="43" align="center" style="color:#FFFFFF;" bgcolor="#0000FF">Type</td>

            	    			<td width="76" align="center" style="color:#FFFFFF;" bgcolor="#0000FF">Rate</td>');
						
					}
					else{
						echo('<td width="43" align="center" style="color:#FFFFFF;" bgcolor="#0000FF">Loại</td>

            	    		<td width="76" align="center" style="color:#FFFFFF;" bgcolor="#0000FF">Tỷ Giá</td>');
					}
            	    
     			?>

          	    </tr>
<?php for($i=0;$i<=10;$i++)
{
	?>
            	  <tr>

            	    <td align="center"><script language="javascript"  type="text/javascript">document.write(vForexs[<?php print $i?>]);</script></td>

            	    <td align="right"><script language="javascript" type="text/javascript">document.write(vCosts[<?php print $i?>]);</script> 
					VNÐ</td>

          	    </tr>
       <?php
}
	   ?>
   	      </table>
